#pragma once
#ifndef IO_TEXTWRITER_H
#define IO_TEXTWRITER_H
//------------------------------------------------------------------------------
/**
    @class Core::TextWriter
    
    A friendly interface for writing text data to a stream.
    
    (C) 2006 Radon Labs GmbH
*/
#include "streamwriter.h"

//------------------------------------------------------------------------------
namespace GBase
{
	class TextWriter : public StreamWriter
	{
	public:
		TextWriter();
		/// destructor
		virtual ~TextWriter();
		/// write a single character
		void WriteChar(unsigned char c);
		void WriteLine1024(const char* str);
		void WriteFormatted(const char* fmtString, ...);
	};

} // namespace Core
//------------------------------------------------------------------------------
#endif